package com.wgchao.pharmacymg.Infrastructure.exception.define;

import com.wgchao.pharmacymg.Infrastructure.exception.CommonException;
import lombok.Getter;
import lombok.ToString;

/**
 * @ClassName: PermissionDeniedException
 * @author: wgchao
 * @createTime: 2019/11/17 10:03 AM
 * @Description: 权限不足
 */
@Getter
@ToString
public class PermissionDeniedException extends CommonException {
    private String code = "601";
    private String msg;

    public PermissionDeniedException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
